package com.chainyoung.trademarket.mvp.contract;

import com.chainyoung.common.bean.UserInfo;
import com.chainyoung.common.mvp.IModel;
import com.chainyoung.common.mvp.IView;
import com.chainyoung.trademarket.entity.MsgNum;

import java.util.TreeMap;

import io.reactivex.Flowable;

public interface MsgCenterContract {

    interface View extends IView {

        void onUpdateMsgStatus(MsgNum data);

    }

    interface Model extends IModel {
        Flowable<MsgNum> updateMsgStatus(TreeMap<String,Object> map);

    }

}
